const state = {
	open: false,
	title: '',
	formJsonId: '',
}
const mutations = {
	CHANGE_OPEN(state, bool) {
		state.open = bool
		if (!bool) {
			state.title = state.formJsonId = ''
		}
	},
	CHANGE_FORMJSONID(state, id) {
		state.formJsonId = id
	},
	CHANGE_TITLE(state, title) {
		state.title = title
	},
}
export default {
	namespaced: true,
	state,
	mutations,
}
